﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DunLibrary.Base;
using DunLibrary.User;
using DunLibrary.CreditCard;
using DunLibrary.Organization;
using DunLibrary.Core;
using DunLibrary.Client;

namespace DunLibrary.Dun
{
    public class Case :Item, ICase
    {

        public virtual CaseCatalog Catalog { get; set; }

        public virtual Company Bank { get; set; }

        public virtual int Year { get; set; }

        public virtual int Period { get; set; }

        public virtual int YearPeriod { get; set; }

        public virtual Cardholder Holder { get; set; }

        public virtual double TotalAmount { get; set; }

        public virtual double TotalReturnAmount { get; set; }

        public virtual string CardDelayLevel { get; set; }

        public virtual IList<ArrearRecord> ArrearRecords { get; set; }

        public virtual DunLibrary.Organization.Organization BranchCompany { get; set; }

        public virtual DunLibrary.User.User Oper { get; set; }

        public virtual IList<CallRecord> CallRecords { get; set; }

        public virtual IList<VisitRecord> VisitRecords { get; set; }

        public virtual IList<ReturnRecord> ReturnRecords { get; set; }

        public virtual IList<CaseComment> Comments { get; set; }

        public virtual ControlType ControlType { get; set; }

    }
}
